package Catalog;
import PO.*;
import VO.*;
public class Catalog {
	long id;
	String description;
	BookList booklist;
	
	public Catalog(CatalogVO vo){
		id=vo.getID();
		description=vo.getDescription();
		booklist=new BookList(vo.getBookListVO());
	}
	public Catalog(CatalogPO po){
		id=po.getID();
		description=po.getDescription();
		booklist=new BookList(po.getBookList());
	}
	public long getID(){
		return id;
	}
	public String getDescription(){
		return description;
	}
	public BookList getBookList(){
		return booklist;
	}
	
}
